package com.debao.system.service;

import com.aliyuncs.exceptions.ClientException;
import com.debao.system.domain.dto.ClassBuySuccessMiniProgramTempDto;

import java.util.HashMap;

/**
 * 通知方法类
 */
public interface NotifyServer {

    /**
     * 开通次卡通知
     */
    void  openTimeCardNotify(String openId, String couchGzhOpenId, String orderNo, String money,
                             String userPhone, String coachPhone, String userName, String coachName,
                             String cardName, String openTime);
    // 短信通知-用户购买成功
    void  classBuySuccessNotifyByPhone(String phone,String templateCode, HashMap<String,Object> params) throws ClientException;

    // 微信小程序-用户购买成功
    void  classBuySuccessNotifyByMiniProgram(ClassBuySuccessMiniProgramTempDto dto);

    // 微信小程序-用户购买成功
    void  classBuySuccessNotifyByGzh(String userName,String courseName,String openId);

}
